<template>
<div class="main">
  <div class="head" >
   {{ pageData[0].MsgTitle}}
  <!--常州星河国际四期七区八区三网合一工程采购-->
  </div>
  <div class="content" >
  <!--星河国际幼儿园南园项目东为玉塘路，南侧为何留村居民区，西侧为长沟河。建筑结构：框架结构，地下1F，地上4F，室内公共部位及室内精装，设备房部位暂定毛坯，室外园林绿化铺装。用地面积约4000平方米，总建筑面积约12091.64平方米，其中地上建筑面积约10555.69平方米，地下建筑面积约1535.95平方米，目前施工进度为 室内精装修阶段。-->
     {{ pageData[0].Content}}
  </div>
</div>

</template>

<script>
import { Search, Tab, TabItem, Group, Cell, XButton } from 'vux'
import {PublicMsgProjService} from '../../service/Services.js'

export default {
  name: 'CellBtn',
  components: {
    Search,
    Tab,
    TabItem,
    Group,
    Cell,
    XButton
  },
  data () {
    return {
      pageData: [{MsgTitle: '', Content: ''}]
    }
  },
  methods: {
    loadData () {
      this.$vux.loading.show({
        text: '加载中...'
      })
      PublicMsgProjService.getPublicMsgProjDetail(this.$route.query.PublicMsgGUID).then((res) => {
        this.$vux.loading.hide()
        this.pageData = res.Data
      }).catch((res) => {
        this.$vux.toast.show({
          text: '请求失败,请联系管理员',
          type: 'cancel',
          width: '180px'
        })
        console.log(res)
      })
    }
  },
  created () {
    this.loadData()
  }
}
</script>

<style scoped lang='less'>
.main{
 word-wrap: break-word;
}
.head{
  font-weight: bold;
  display: block;
  margin:5px 20px;

  font-family: PingFangSC-Regular;
  font-size: 19px;
  color: #111111;
}
.content{
  margin:20px 20px 10px 20px ;
  font-family: PingFangSC-Regular;
  font-size: 14px;
  color: #222222;
  letter-spacing: 0;
  line-height: 25px;
}
</style>
